<?php echo js_asset('bootstrap.min.js'); ?>

<div class="header">
	<nav class="navbar navbar-inverse" role="navigation">
		<!-- Brand and toggle get grouped for better mobile display -->
		<div class="navbar-header">
			<a class="navbar-brand"> Medicine Stock Management </a>
		</div>
	</nav>
</div>

<div class="login_form">
   				
		<?php /* $attr = array(
				'class' => 'form-signin',
				'id' => 'form_login',
				'method' => 'post' );
		echo form_open('login', $attr); */?>
		
	  <form  method="post" action="<?php echo base_url();?>login_control/verifylogin" id="vali" >
		
		<h1 class="form-signin-heading">
			<b>Please login</b>
		</h1></br>
		
		<input type="text" id="username" name="username"
			class="form-control" placeholder="Username" required autofocus> </br>
		<input type="password" id="password" name="password"
			class="form-control" placeholder="Password" required> </br>
		<button class="btn btn-lg btn-primary btn-block" type="submit">Login</button>
		
		</br></br>
	</form>
		<?php //form_close();
		
		if(isset ($error)) { ?>
  	<div>
		<p="" class="error" id="login_error"><font color="red"><?php echo $error; ?></font>
	
	
	</div>
	<?php } ?>

</div>